Software Development
Socket Programming in Python
Socket Programming in Python: Advanced Topics
Socket Programming in Python: Introduction

Socket Programming in Python: Advanced Topics

Course Number:
it_pynpspdj_02_enus
Lesson Objectives

Socket Programming in Python: Advanced Topics

  • discover the key concepts covered in this course
  • build a Python app to break up a large text file into chunks and send the chunks over a socket connection to a recipient app
  • code a Python app to receive a large text file in chunks and reconstruct that file
  • transmit an image file from one Python app to another by breaking it up into chunks
  • configure the server of a client-server chat application
  • write the code for the client end of a client-server chat application
  • recognize the effects of setting sockets to run in blocking mode when large transfers are involved
  • recall the considerations for setting a Python socket to use non-blocking mode
  • write a Python app that subscribes to RSS data feeds
  • set up applications to transfer data using UDP and distinguish between UDP and TCP sockets
  • summarize the key concepts covered in this course

Overview/Description

Discover socket programming advanced features, including the transfer of large files over sockets, two-way communication, and the differences between blocking and non-blocking sockets.



Target

Prerequisites: none

Socket Programming in Python: Introduction

Course Number:
it_pynpspdj_01_enus
Lesson Objectives

Socket Programming in Python: Introduction

  • discover the key concepts covered in this course
  • use the socket module in a Python application and identify the functions that can be used to get information about the application's host
  • write server and client applications that can communicate with each other using TCP sockets
  • implement socket communication between applications by using Python's with context manager
  • configure an application to wait for a set amount of time for communication from another process
  • recognize how data needs to be transformed to bytes when transferring it over Python sockets
  • use the pickle module to serialize data when sending it over a socket connection and de-serialize the data at the other end
  • recover and use objects that were transmitted from another Python application over a socket connection
  • summarize the key concepts covered in this course

Overview/Description

Sockets are a means by which two processes or applications can communicate information. Explore the basics of socket programming and see how small bits of data, ranging from simple text to Python objects, can be transferred between applications via sockets.



Target

Prerequisites: none

Close Chat Live